package com.bqjr.xms.service;

import com.bqjr.xms.modle.ConsumerBeehiveUser;
import com.bqjr.xms.service.impl.ConsumerBeehiveUserServiceImpl;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Description: ConsumerBeehiveUserService.
 * Created by XHZ on 2017/8/6.
 */
@FeignClient(name = "provider-user", fallback = ConsumerBeehiveUserServiceImpl.class)
public interface ConsumerBeehiveUserService {
    @RequestMapping("/user/{id}")
    ConsumerBeehiveUser findById(@RequestParam("id") Long id);
}
